namespace RivercrabNet
{
    using System;
    using System.Collections.Generic;
    using System.Drawing;

    public class MarkShape : BaseShape
    {
        private Dictionary<MarkStyle, Color> dicMarkColor = new Dictionary<MarkStyle, Color>();
        private string displayName = string.Empty;
        private string markDescField = ("MarkDescField-" + Common.GetGuid());
        private string markStyleField = ("MarkTypeField-" + Common.GetGuid());

        public MarkShape()
        {
            this.InitMarkColor();
        }

        public void InitMarkColor()
        {
            this.dicMarkColor[MarkStyle.UpArrow] = Color.Red;
            this.dicMarkColor[MarkStyle.UpArrowWithOutTail] = Color.Red;
            this.dicMarkColor[MarkStyle.DownArrow] = Color.Lime;
            this.dicMarkColor[MarkStyle.DownArrowWithOutTail] = Color.Lime;
            this.dicMarkColor[MarkStyle.LeftArrow] = Color.White;
            this.dicMarkColor[MarkStyle.RightArrow] = Color.White;
            this.dicMarkColor[MarkStyle.Cycle] = Color.White;
        }

        public Dictionary<MarkStyle, Color> DicMarkColor
        {
            get
            {
                return this.dicMarkColor;
            }
            set
            {
                this.dicMarkColor = value;
            }
        }

        public string DisplayName
        {
            get
            {
                return this.displayName;
            }
            set
            {
                this.displayName = value;
            }
        }

        public string MarkDescField
        {
            get
            {
                return this.markDescField;
            }
            set
            {
                this.markDescField = value;
            }
        }

        public string MarkStyleField
        {
            get
            {
                return this.markStyleField;
            }
            set
            {
                this.markStyleField = value;
            }
        }
    }
}

